package com.shuhe.domain.api;

public class ApiRequestBody {

    private String columnNames;

    private String offset = "0";

    private String rows = "100";

    private String orderColumn;

    private String whereCondition;

    private String maxReturnNum;

    private String groupColumn;
    private String aggregationColumn;

    public String getMaxReturnNum() {
        return maxReturnNum;
    }

    public void setMaxReturnNum(String maxReturnNum) {
        this.maxReturnNum = maxReturnNum;
    }

    public String getGroupColumn() {
        if (groupColumn == null) {
            return "";
        }
        return groupColumn;
    }

    public void setGroupColumn(String groupColumn) {
        this.groupColumn = groupColumn;
    }

    public String getAggregationColumn() {
        if (aggregationColumn == null) {
            return "";
        }
        return aggregationColumn;
    }

    public void setAggregationColumn(String aggregationColumn) {
        this.aggregationColumn = aggregationColumn;
    }

    public String getColumnNames() {
        if (columnNames == null) {
            return "";
        }
        return columnNames;
    }

    public void setColumnNames(String columnNames) {
        this.columnNames = columnNames;
    }

    public String getOffset() {
        if (offset == null) {
            return "0";
        }
        return offset;
    }

    public void setOffset(String offset) {
        this.offset = offset;
    }

    public String getRows() {
        if (rows == null) {
            return "100";
        }
        return rows;
    }

    public void setRows(String rows) {
        this.rows = rows;
    }

    public String getOrderColumn() {
        if (orderColumn == null) {
            return "";
        }
        return orderColumn;
    }

    public void setOrderColumn(String orderColumn) {
        this.orderColumn = orderColumn;
    }

    public String getWhereCondition() {
        if (whereCondition == null) {
            return "";
        }
        return whereCondition;
    }

    public void setWhereCondition(String whereCondition) {
        this.whereCondition = whereCondition;
    }
}
